package com.example.network.model.entity;

import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;


@Data
@AllArgsConstructor // 有参构造
@NoArgsConstructor // 无参构造
//@Entity // 指明该类是一个实体类，它将被JPA视为与数据库表相对应的类
public class TimeTable implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer ID;
    private String email;
    private String time;
    private String status;
}
